<?php

$config = array(
		'login' => array(
				 
				array(
						'field' => 'email',
						'label' => '<strong>E-mail</strong>',
						'rules' => 'required|valid_email'
				),
				array(
						'field' => 'password',
						'label' => '<strong>Senha</strong>',
						'rules' => 'required|min_length[3]'
				)
		),

		'usuario/add' => array(

				array(
						'field' => 'campoNome',
						'label' => '<strong>Nome</strong>',
						'rules' => 'trim|required|min_length[3]'
				),

				array(
						'field' => 'campoEmail',
						'label' => '<strong>E-mail</strong>',
						'rules' => 'trim|required|valid_email'
				),


				array(
						'field' => 'campoSenha',
						'label' => '<strong>Senha</strong>',
						'rules' => 'trim|required|min_length[5]'
				),

				array(
						'field' => 'campoConfSenha',
						'label' => '<strong>Confirmação da senha</strong>',
						'rules' => 'trim|required|matches[campoSenha]'
				)

		),
		
		'login/nova_senha' => array(
		
				array(
						'field' => 'email',
						'label' => '<strong>E-mail</strong>',
						'rules' => 'trim|required|valid_email'
				),
		
		),
		
		'noticia/add' => array(
		
				array(
						'field' => 'campoTitulo',
						'label' => '<strong>Título</strong>',
						'rules' => 'trim|required|min_length[3]'
				),
		
				array(
						'field' => 'campoData',
						'label' => '<strong>Data</strong>',
						'rules' => 'trim|required'
				),
		
		
				array(
						'field' => 'campoRedacao',
						'label' => '<strong>Redação</strong>',
						'rules' => 'trim|required|min_length[5]'
				),
		
		),

);
 